package com.wed.db;

public class SanPham {
private int MaSach;
private String TenSach;
private String TheLoai;
private String TacGia;
private String NXB;
private double GiaNhap;
private double GiaXuat;
private String HinhAnh;
public int getMaSach() {
	return MaSach;
}
public SanPham() {
  
    this.TenSach = "";
    this.TheLoai = "";
    this.TacGia = "";
    this.NXB = "";
    this.GiaNhap=0;
    this.GiaXuat=0;
  
}
public SanPham(int MaSach,String TenSach, String TheLoai, String TacGia,String NXB, double GiaNhap, double GiaXuat) {
this.MaSach =MaSach;
this.TenSach = TenSach;
this.TheLoai =TheLoai;
this.TacGia = TacGia;
this.NXB=NXB ;
this.GiaNhap=GiaNhap;
this.GiaXuat=GiaXuat;


}
public SanPham(String TenSach, String TheLoai, String TacGia,String NXB, double GiaNhap, double GiaXuat) {
this.TenSach = TenSach;
this.TheLoai =TheLoai;
this.TacGia = TacGia;
this.NXB=NXB ;
this.GiaNhap=GiaNhap;
this.GiaXuat=GiaXuat;


}
public void setMaSach(int maSach) {
	MaSach = maSach;
}
public String getTenSach() {
	return TenSach;
}
public void setTenSach(String tenSach) {
	TenSach = tenSach;
}
public String getTheLoai() {
	return TheLoai;
}
public void setTheLoai(String theLoai) {
	TheLoai = theLoai;
}
public String getTacGia() {
	return TacGia;
}
public void setTacGia(String tacGia) {
	TacGia = tacGia;
}
public String getNXB() {
	return NXB;
}
public void setNXB(String nxb) {
	NXB = nxb;
}
public double getGiaNhap() {
	return GiaNhap;
}
public void setGiaNhap(double giaNhap) {
	GiaNhap = giaNhap;
}
public double getGiaXuat() {
	return GiaXuat;
}
public void setGiaXuat(double giaXuat) {
	GiaXuat = giaXuat;
}
public String getHinhAnh() {
	return HinhAnh;
}
public void setNoiDung(String hinhAnh) {
	HinhAnh = HinhAnh;
}
public static void main(String[] args) throws Exception {

		System.out.println("dSD");
 
 }
}
